package cn.xx.org.service;

import cn.xx.basic.service.IBaseService;
import cn.xx.basic.exception.CustomException;
import cn.xx.org.domain.Shop;

import javax.mail.MessagingException;

/**
 * 店铺service
 */
public interface IShopService extends IBaseService<Shop>{
    /**
     * 店铺入驻
     * @param shop 店铺对象
     */
    void settlement(Shop shop) throws CustomException;

    void setPass(Long id) throws MessagingException;

    void setReturn(Long id,String content);

    void setLoding(Long id,Shop para);

    void setopen(Long id);
}
